/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package palam.fakeimagedetection;

import Algorithm.Main;
/**
 *
 * @author PaLam
 */
import GUI.AppLoader;
public class PaLamFakeImageDetection {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
//        test();
        run();
    }

    public static void run() {
        
        Main m = new Main("C:/Users/PaLamPawarit/Documents/NetBeansProjects/PaLam.FakeImageDetection/src/Algorithm/Picture2.jpg");
            m.PrepareDB();
//            m.FindDuplicate();
//        
//        m.SecondStep();
    }

    public static void test() {
        // delete the database named 'test' in the user home directory
        //org.h2.tools.DeleteDbFiles.execute("~", "test", true);
        /*
         SELECT
         name, email, COUNT(*)
         FROM
         users
         GROUP BY
         name, email
         HAVING 
         COUNT(*) > 1
         */
    }

}
